// Test.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "../UpdateWallPaper/UpdateWallPaper.h"
#pragma comment(lib,"../Debug/UpdateWallPaper.lib")
int _tmain(int argc, _TCHAR* argv[])
{
	//LPCTSTR strPicFile=L"D:\\vmsharefolder\\pic\\200912113164567_min.png";
	//DWORD dwStyle=lstrlen(strPicFile)*sizeof(WCHAR);
	/*
	LPCTSTR strPicFile=new WCHAR[260];
	DWORD dwStyle = 0;
	BOOL fEnableComponents=FALSE;
	BOOL fActiveDesktop=FALSE;
	GetWallpaper(strPicFile,&dwStyle,&fEnableComponents,&fActiveDesktop);	
	SetWallpaper(strPicFile,dwStyle,1,1);
	*/
	WallPaperMain();
	return 0;
}

